<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>tab插件</title>
    <link rel="stylesheet" href="./demo.css">
</head>
<body>
    <div class="box swiper1">
        <img src="./imgs/img1.jpg" alt="">
        <ul>
            <li class="active"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
    <br>
    <div class="box swiper2">
        <img src="./imgs/img1.jpg" alt="">
        <ul>
            <li class="active"></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
            <li></li>
        </ul>
    </div>
</body>
<script src= './demo.js'></script>
<script>
    let swiper1 = new Swiper('.swiper1')  //最大的盒模型+配置
    let swiper2 = new Swiper('.swiper2')  //最大的盒模型+配置
</script>
</html>